package com.example.spark.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.spark.entity.Files;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface FilesDao extends BaseMapper<Files> {

    @Select("select username from user where id = #{id}")
    String selectUserName(@Param("id") Long id);

}
